/**
 * 
 */
package com.wodsy.phoenix.datadao.cms.dao;

import java.util.List;

import com.wodsy.phoenix.datadao.base.IBaseDao;
import com.wodsy.phoenix.dataobject.base.Pager;
import com.wodsy.phoenix.dataobject.cms.model.IdxAdPic;


/**
 * @author bryan
 *
 */
public interface CmsHomePageBannerDao extends IBaseDao<IdxAdPic, Integer>  {

	public List<IdxAdPic> getOnlinePicBanner();
	
	public Pager<IdxAdPic> searchBannerPicByOrder(Pager<IdxAdPic> adPic,IdxAdPic picreq);
	
	public Integer updateBannerPicStatus(int bannerId,int status);
	
	public Integer updateBannerPicStatus(Integer[] bannerIds,int status);
	
	public Integer addBannerRecommended(IdxAdPic banner);
	
	public void updateBannerRecommended(IdxAdPic banner);

}
